/* Stuffy merch on the brick wall. */
.wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 1.4rem;
  margin: 2rem 0 1.5rem;
}

.plush {
  position: relative;
  width: 100%;
  background: var(--plush);
  color: var(--paste-ink);
  padding: 0.8rem 0.8rem 1.9rem;
  border: 4px solid var(--ink);
  transform: rotate(-2deg);
  box-shadow: 8px 8px 0 var(--pink);
}

.plush.stuffy-type {
  background: var(--paste);
  transform: rotate(2deg);
  box-shadow: 8px 8px 0 var(--lime);
}

.plush img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.plush span {
  position: absolute;
  bottom: 0.4rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-stamp);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.lime-word {
  color: var(--lime);
}

.social-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.55rem 4vw;
  background: var(--dock);
  border-top: 3px solid var(--pink);
}

.wide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-stamp);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.75rem 0.3rem;
  background: var(--void);
  color: var(--ink);
  border: 2px solid var(--pink);
}

.dock-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.dock-icon.tg {
  fill: var(--telegram);
}

.dock-icon.x {
  fill: var(--white);
  width: 1.35em;
  height: 1.35em;
}

.wide:hover {
  background: var(--pink);
  color: var(--on-accent);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.4rem 8vw 5.5rem;
  font-family: var(--font-tag);
  background: var(--void);
  color: var(--ink);
}

.foot img {
  width: 38px;
}

.viewer-page {
  text-align: center;
  padding: 2rem 8vw 6.5rem;
}

.viewer-page .paint {
  margin-bottom: 0.6rem;
}

.viewer-stage {
  width: min(920px, 100%);
  height: min(70vh, 680px);
  margin: 1.4rem auto 0;
  background: var(--paper);
  border: 4px solid var(--ink);
  box-shadow: 10px 12px 0 var(--pink);
  overflow: hidden;
  touch-action: none;
}

.viewer-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--viewer-clear);
  touch-action: none;
}

.viewer-stage.viewer-error::after {
  content: "Could not load the 3D mascot.";
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--ink-soft);
  font-family: var(--font-tag);
}

@media (max-width: 980px) {
  .wall {
    grid-template-columns: 1fr;
  }

  .social-dock {
    gap: 0.3rem;
    padding: 0.45rem 3vw;
  }

  .wide {
    font-size: 0.78rem;
    padding: 0.65rem 0.15rem;
  }
}

.collab-modal {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1.2rem;
  border: 0;
  background: transparent;
}

.collab-modal[open] {
  display: grid;
  place-items: center;
}

.collab-modal::backdrop {
  background: var(--modal-veil);
}

.collab-fireworks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.collab-card {
  position: relative;
  z-index: 1;
  width: min(28rem, calc(100vw - 1.6rem));
  text-align: center;
  padding: 1.5rem 1.3rem 1.4rem;
  background: var(--paper);
  color: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0 var(--pink), 0 0 40px rgba(232, 160, 184, 0.35);
}

.collab-close {
  position: absolute;
  top: 0.45rem;
  right: 0.5rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid var(--pink);
  background: var(--void);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.collab-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.4rem 0 1rem;
}

.collab-marks img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.collab-marks .plus {
  font-family: var(--font-paint);
  font-size: 1.8rem;
  color: var(--pink);
  animation: collab-cell-c 8.6s cubic-bezier(0.37, 0, 0.18, 1) infinite;
}

.collab-marks .swappy-mark {
  animation: collab-cell-a 9.4s cubic-bezier(0.45, 0.03, 0.2, 1) infinite;
}

.collab-marks .uni-mark {
  animation: collab-cell-b 11.2s cubic-bezier(0.22, 0.08, 0.18, 1) infinite;
}

.collab-card h2 {
  font-family: var(--font-paint);
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  line-height: 1.15;
  margin: 0 0 0.55rem;
  color: var(--white);
}

.collab-card p {
  margin: 0 0 0.85rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
}

.collab-card .x-link {
  display: inline-block;
  font-family: var(--font-stamp);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.15rem;
  background: var(--pink);
  color: var(--on-accent);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--lime);
}

@keyframes collab-cell-a {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  14% {
    transform: translate(2px, -3px) rotate(0.8deg);
  }
  29% {
    transform: translate(-3px, -1px) rotate(-0.5deg);
  }
  47% {
    transform: translate(1px, 3px) rotate(0.3deg);
  }
  63% {
    transform: translate(3px, 1px) rotate(-0.7deg);
  }
  81% {
    transform: translate(-2px, 2px) rotate(0.4deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes collab-cell-b {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  11% {
    transform: translate(-2px, 2px) rotate(-0.6deg);
  }
  26% {
    transform: translate(3px, 1px) rotate(0.4deg);
  }
  44% {
    transform: translate(-1px, -3px) rotate(0.9deg);
  }
  68% {
    transform: translate(2px, -2px) rotate(-0.3deg);
  }
  86% {
    transform: translate(-3px, 1px) rotate(-0.8deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes collab-cell-c {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  22% {
    transform: translate(1px, -2px) scale(1.03);
  }
  41% {
    transform: translate(-2px, 1px) scale(0.98);
  }
  70% {
    transform: translate(2px, 1px) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .collab-marks img,
  .collab-marks .plus {
    animation: none;
  }
}

.join-poster .split-text {
  max-width: 46rem;
  padding: 1.8rem 1.4rem 2rem;
  background: var(--paste);
  color: var(--paste-ink);
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0 var(--pink), -7px -7px 0 var(--lime);
  transform: rotate(-0.7deg);
}

.join-mascot {
  width: min(11rem, 42vw);
  height: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.join-poster .tag {
  color: var(--accent-deep);
}

.join-poster .paint {
  color: var(--accent-deep);
  text-shadow: 3px 3px 0 var(--pink);
}

.join-poster .split-text p {
  color: var(--paste-ink);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.7;
}

.join-poster .tg-link {
  color: var(--hot);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.join-poster .tg-link:hover {
  color: var(--accent-deep);
}

.join-poster .mark-pink,
.join-poster .mark-rose,
.join-poster .mark-champagne {
  display: inline;
  padding: 0.05em 0.28em;
  font-weight: 800;
}

.join-poster .mark-pink {
  background: var(--pink);
  color: var(--on-accent);
}

.join-poster .mark-rose {
  background: var(--accent-deep);
  color: var(--white);
}

.join-poster .mark-champagne {
  background: var(--lime);
  color: var(--on-accent);
}

.join-poster .join-stamp {
  font-family: var(--font-paint);
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  color: var(--hot);
  margin: 1.1rem 0 1.2rem;
  transform: rotate(-3deg);
}

.join-poster .join-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-swappy {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  flex-shrink: 0;
}

.join-poster .cards {
  width: min(920px, 100%);
}

.define {
  text-align: center;
  padding: 4rem 8vw 6.5rem;
}

.define-intro {
  max-width: 46rem;
  margin: 0 auto 1.8rem;
  padding: 1.35rem 1.4rem 1.45rem;
  background: var(--paste);
  color: var(--paste-ink);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--pink);
  text-align: left;
}

.define-lede {
  max-width: none;
  margin: 0 0 1rem;
  color: inherit;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.75;
}

.define-lede:last-child {
  margin-bottom: 0;
}

.define-lede .uni-word {
  color: var(--hot);
  font-weight: 800;
}

.define-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  align-items: stretch;
}

.define-is,
.define-not {
  text-align: left;
  padding: 1.35rem 1.2rem 1.5rem;
  border: 4px solid var(--ink);
  min-height: 100%;
}

.define-is {
  background: var(--paste);
  color: var(--paste-ink);
  box-shadow: 10px 10px 0 var(--pink);
  transform: rotate(-1.1deg);
}

.define-not {
  background: var(--not-panel);
  color: var(--white);
  box-shadow: 10px 10px 0 var(--accent-deep);
  transform: rotate(1.1deg);
}

.define-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-stamp);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.define-is .define-kicker {
  color: var(--accent-deep);
}

.define-not .define-kicker {
  color: var(--pink);
}

.define-is h3,
.define-not h3 {
  font-family: var(--font-paint);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.1;
  margin: 0 0 0.85rem;
}

.define-not ul + h3 {
  margin-top: 1.35rem;
}

.define-is p,
.define-not p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

.define-is p:last-child {
  margin-bottom: 0;
}

.define-not ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.define-not li {
  position: relative;
  margin: 0 0 0.9rem;
  padding-left: 1.55rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: inherit;
}

.define-not li:last-child {
  margin-bottom: 0;
}

.define-not li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--hot);
  font-weight: 800;
}

.define-closer {
  max-width: 40rem;
  margin: 2rem auto 0;
  padding: 1.1rem 1.2rem;
  background: var(--paste);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--lime);
  color: var(--paste-ink);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.65;
  transform: rotate(-0.4deg);
}

.define-ticker {
  display: inline-block;
  margin-left: 0.15em;
  font-family: var(--font-paint);
  color: var(--hot);
  font-size: 1.25em;
}

.queen-word {
  color: var(--hot);
  font-weight: 800;
}

.ai-slop {
  display: block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slop);
}

.real-people-hunt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.15rem 0 0.4rem;
  font-family: var(--font-stamp);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 0 var(--void);
}

.hunt-arrow {
  display: inline-flex;
  color: var(--hot);
  line-height: 0;
  filter: drop-shadow(0 0 10px var(--hot)) drop-shadow(4px 5px 0 var(--void));
  animation: hunt-bob 1.15s ease-in-out infinite;
}

.hunt-arrow svg {
  width: 4.2rem;
  height: 4.9rem;
  fill: currentColor;
}

@keyframes hunt-bob {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(22px) scale(1.18);
  }
  55% {
    transform: translateY(8px) scale(1.05);
  }
  72% {
    transform: translateY(26px) scale(1.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hunt-arrow {
    animation: none;
  }
}

.theme-pick {
  display: none;
  align-items: center;
  gap: 0.45rem;
  width: auto;
  margin-left: auto;
  color: var(--chain-ink);
  font-family: var(--font-stamp);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[data-show-themes="true"] .theme-pick {
  display: flex;
}

.theme-pick-label {
  font-size: 0.85rem;
}

.theme-pick select {
  display: block;
  min-width: 11rem;
  min-height: 2.6rem;
  font-family: var(--font-stamp);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0.4rem 0.55rem;
  background: #08140a;
  color: #f4fff4;
  border: 2px solid #08140a;
  border-radius: 0;
}

@media (max-width: 980px) {
  .define-grid {
    grid-template-columns: 1fr;
  }

  .define-is,
  .define-not {
    transform: none;
  }

  .theme-pick {
    width: 100%;
    margin-left: 0;
  }

  .theme-pick select {
    width: 100%;
    min-width: 0;
  }
}
